// ==UserScript==
// @name         大众点评数据导出
// @namespace    https://gitee.com/xvcer/dzdp
// @version      0.9.6
// @author       xpure@foxmail.com
// @updateURL    https://gitee.com/xvcer/dzdp/raw/master/version
// @downloadURL  https://gitee.com/xvcer/dzdp/raw/master/main.js
// @require      http://coffeescript.org/v2/browser-compiler-legacy/coffeescript.js
// @require      https://cdn.jsdelivr.net/combine/npm/jquery@3,npm/papaparse@4,npm/@fancyapps/fancybox@3,npm/lodash@4,npm/idb-keyval@3/dist/idb-keyval-iife.min.js,npm/dexie@3.0.0-rc.1
// @resource     cssFancybox https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.css
// @grant        GM_getResourceText
// @grant        GM_addStyle
// @resource     cssMain https://gitee.com/xvcer/dzdp/raw/master/main.css
// @include      https://www.dianping.com/search/keyword/*
// @include      http://www.dianping.com/search/keyword/*
// ==/UserScript==

function addCss(name) {
  GM_addStyle(GM_getResourceText(name))
}

(function() {
  addCss('cssFancybox')
  addCss('cssMain')
})();
